DigitalRiver\ApiSdk\Model\Refund B

Total Complexity 82
Dependencies 6
Dependents 3
Total lines 838
Lines of code 250
Logical lines of code 107
Comment lines 337
Methods 51
Properties 7

Methods 51

Method Rating Maintainability Complexity Lines of code
__construct()
B
53 18 19
listInvalidProperties()
S
54 7 21
setType()
S
60 3 13
setState()
S
60 3 13
setReason()
S
67 3 7
offsetSet()
S
69 2 7
offsetGet()
S
78 2 3
getTypeAllowableValues()
S
63 1 12
getStateAllowableValues()
S
63 1 12
openAPITypes()
S
80 1 3
setTokenInformation()
S
76 1 4
getReason()
S
80 1 3
getFailureReason()
S
80 1 3
setFailureReason()
S
76 1 4
getState()
S
80 1 3
getTokenInformation()
S
80 1 3
setLiveMode()
S
76 1 4
getExpiresTime()
S
80 1 3
setExpiresTime()
S
76 1 4
getLiveMode()
S
80 1 3
getItems()
S
80 1 3
getMetadata()
S
80 1 3
setMetadata()
S
76 1 4
offsetExists()
S
79 1 3
offsetUnset()
S
80 1 3
__toString()
S
72 1 6
setItems()
S
76 1 4
getRefundedAmount()
S
80 1 3
setPayments()
S
76 1 4
getOrderId()
S
80 1 3
attributeMap()
S
80 1 3
setters()
S
80 1 3
getters()
S
80 1 3
getModelName()
S
81 1 3
valid()
S
79 1 3
getId()
S
80 1 3
setId()
S
76 1 4
getCreatedTime()
S
80 1 3
setCreatedTime()
S
76 1 4
setOrderId()
S
76 1 4
getPayments()
S
80 1 3
getInvoiceId()
S
80 1 3
setInvoiceId()
S
76 1 4
getCurrency()
S
80 1 3
setCurrency()
S
76 1 4
getType()
S
80 1 3
getAmount()
S
80 1 3
setAmount()
S
76 1 4
openAPIFormats()
S
80 1 3
setRefundedAmount()
S
76 1 4
toHeaderValue()
S
80 1 3